<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>新建部门</title>
	</head>
	<body>
	<center>
	
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td width="17" valign="top" background="images/mail_leftbg.gif">
					<img src="images/left-top-right.gif" width="17" height="29" />
				</td>
				<td valign="top" background="images/content-bg.gif">
					<table width="100%" height="31" border="0" cellpadding="0"
						cellspacing="0" class="left_topbg" id="table2">
						<tr>
							<td height="31">
								<div class="titlebt">
									新建部门
								</div>
							</td>
						</tr>
					</table>
				</td>
				<td width="16" valign="top" background="images/mail_rightbg.gif">
					<img src="images/nav-right-bg.gif" width="16" height="29" />
				</td>
			</tr>
	</table>

<s:form action="/yun/addDept.action" method="post">
<br /><br /><br /><font color="red" size="4">${msg}</font>
		   <table width="50%" cellspacing="1" cellpadding="3" border="0" bgcolor="#6298e1">
							<tr >
								    <td width="40" nowrap="" height="25"  align="center">
										<div id="some"></div>
									</td>
									<td width="40" nowrap="" height="25"  align="center">
									      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;新增部门
									</td>
								
									
								</tr>
								<tr bgcolor="#ebf2f9" onmouseout="this.style.backgroundColor = ''" style="" onmouseover="this.style.backgroundColor = '#FFFFFF'">
									<td nowrap="" height="30" align="center">
										&nbsp;&nbsp;&nbsp;&nbsp;部门名称 ：
									</td>
									<td nowrap="" height="30" align="center">
										 <input name="dept.deptname" style="border:0;background:transparent; font-size:18px;width:80px;height:20px;"/>
								
									</td>
									
								</tr>
								
								<tr bgcolor="#ebf2f9" onmouseout="this.style.backgroundColor = ''" style="" onmouseover="this.style.backgroundColor = '#FFFFFF'">
									<td nowrap="" height="30" align="center">
										&nbsp;&nbsp;&nbsp;&nbsp;部门经理：
									</td>
									<td nowrap="" height="30" align="center">
									  <select name="dept.UUser.uid" style="border:0;background:transparent; font-size:18px;width:80px;height:25px;">
										  <s:iterator value="mgrlist" var="mgr">
				     	                   <option value="<s:property value="#mgr.uid" />"><s:property value="#mgr.uname" /></option>
					                        </s:iterator>
				                       </select>
										
									</td>
									
								</tr>
							
							   <tr bgcolor="#ebf2f9" onmouseout="this.style.backgroundColor = ''" style="" onmouseover="this.style.backgroundColor = '#FFFFFF'">
									<td nowrap="" height="30" align="center">
										&nbsp;&nbsp;&nbsp;&nbsp;备注 ：
									</td>
									<td nowrap="" align="center" >
										<textarea rows="4" cols="15" name="dept.deptnote" style="border:0;background:transparent; font-size:18px;width:80px;height:20px;"></textarea>
										
									</td>
									
								</tr>
								
								<tr bgcolor="#ebf2f9" onmouseout="this.style.backgroundColor = ''" style="" onmouseover="this.style.backgroundColor = '#FFFFFF'">
									<td nowrap="" height="30" align="center">
										&nbsp;&nbsp;&nbsp;&nbsp;是否删除 ：
									</td>
									<td nowrap="" height="30" align="center" >
										<select name="dept.isdelete" style="border:0;background:transparent; font-size:18px;width:80px;height:20px;">
								            <option value=0>否</option>
										</select>
									</td>
									
								</tr>
								
							</table>
							<br/><br/><br/>
							<p align="center">
								<input type="submit" class="button" value="提交 &raquo;" style="width:150px"/>
								&nbsp;
							</p>
						</s:form>
						<br />
						<br />
			            <br />
			            <br />
			<div style="margin-left:180px">
			<br /><br /><br/><br/>
		<table width="99%" align="center">
			<tr>
				<td class="left_txt">
								<img src="images/icon-mail2.gif" width="16" height="11">
								&nbsp;&nbsp;&nbsp;&nbsp;邮箱：liuyongwade@gmail.com
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								组员：刘勇&nbsp;&nbsp;程署&nbsp;&nbsp;陈皓&nbsp;&nbsp;席晓明&nbsp;&nbsp;刘广云
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;版权所有 侵权必究
							</td>
						</tr>
						</table>
						</div>
		</center>
	</body>
</html>

